package com.hd.crdao.bean;

import java.util.List;

/**
 *
 *@author Administrator
 *@date 2017/6/28 0028
 */
public class MealListBean {

    /**
     * cbAccounts : [{"caFlag":"1","caTimes":8,"carBusiness":{"cbName":"林利","creditNum":0,"id":"28de585a97b14a268bd258eb3a1512bb","isNewRecord":false},"id":"15","isNewRecord":false,"serviceTypeId":"1"}]
     * data : [{"id":"1","isNewRecord":false,"sdAmount":0.01,"sdBegdate":"2017-03-27 00:00:00","sdEnddate":"2018-05-10 00:00:00","sdFlag":"1","sdName":"10条4S维保套餐购买","sdTerm":1,"sdTimes":10,"serviceType":{"isNewRecord":true,"stName":"4S维保查询套餐"},"serviceTypeId":1},{"id":"2","isNewRecord":false,"sdAmount":0.01,"sdBegdate":"2017-03-27 00:00:00","sdEnddate":"2018-04-25 00:00:00","sdFlag":"1","sdName":"20条4S维保套餐购买","sdTerm":90,"sdTimes":20,"serviceType":{"isNewRecord":true,"stName":"4S维保查询套餐"},"serviceTypeId":1},{"id":"3","isNewRecord":false,"sdAmount":0.01,"sdBegdate":"2017-03-22 00:00:00","sdEnddate":"2018-05-24 00:00:00","sdFlag":"1","sdName":"5条4S维保套餐购买","sdTerm":30,"sdTimes":5,"serviceType":{"isNewRecord":true,"stName":"4S维保查询套餐"},"serviceTypeId":1}]
     * message : 处理成功
     * success : 00
     */

    private String message;
    private String success;
    private List<CbAccountsBean> cbAccounts;
    private List<DataBean> data;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getSuccess() {
        return success;
    }

    public void setSuccess(String success) {
        this.success = success;
    }

    public List<CbAccountsBean> getCbAccounts() {
        return cbAccounts;
    }

    public void setCbAccounts(List<CbAccountsBean> cbAccounts) {
        this.cbAccounts = cbAccounts;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class CbAccountsBean {
        /**
         * caFlag : 1
         * caTimes : 8
         * carBusiness : {"cbName":"林利","creditNum":0,"id":"28de585a97b14a268bd258eb3a1512bb","isNewRecord":false}
         * id : 15
         * isNewRecord : false
         * serviceTypeId : 1
         */

        private String caFlag;
        private int caTimes;
        private CarBusinessBean carBusiness;
        private String id;
        private boolean isNewRecord;
        private String serviceTypeId;

        public String getCaFlag() {
            return caFlag;
        }

        public void setCaFlag(String caFlag) {
            this.caFlag = caFlag;
        }

        public int getCaTimes() {
            return caTimes;
        }

        public void setCaTimes(int caTimes) {
            this.caTimes = caTimes;
        }

        public CarBusinessBean getCarBusiness() {
            return carBusiness;
        }

        public void setCarBusiness(CarBusinessBean carBusiness) {
            this.carBusiness = carBusiness;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isIsNewRecord() {
            return isNewRecord;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }

        public String getServiceTypeId() {
            return serviceTypeId;
        }

        public void setServiceTypeId(String serviceTypeId) {
            this.serviceTypeId = serviceTypeId;
        }

        public static class CarBusinessBean {
            /**
             * cbName : 林利
             * creditNum : 0
             * id : 28de585a97b14a268bd258eb3a1512bb
             * isNewRecord : false
             */

            private String cbName;
            private int creditNum;
            private String id;
            private boolean isNewRecord;

            public String getCbName() {
                return cbName;
            }

            public void setCbName(String cbName) {
                this.cbName = cbName;
            }

            public int getCreditNum() {
                return creditNum;
            }

            public void setCreditNum(int creditNum) {
                this.creditNum = creditNum;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }
        }
    }

    public static class DataBean {
        /**
         * id : 1
         * isNewRecord : false
         * sdAmount : 0.01
         * sdBegdate : 2017-03-27 00:00:00
         * sdEnddate : 2018-05-10 00:00:00
         * sdFlag : 1
         * sdName : 10条4S维保套餐购买
         * sdTerm : 1
         * sdTimes : 10
         * serviceType : {"isNewRecord":true,"stName":"4S维保查询套餐"}
         * serviceTypeId : 1
         */

        private String id;
        private boolean isNewRecord;
        private double sdAmount;
        private String sdBegdate;
        private String sdEnddate;
        private String sdFlag;
        private String sdName;
        private int sdTerm;
        private int sdTimes;
        private ServiceTypeBean serviceType;
        private int serviceTypeId;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isIsNewRecord() {
            return isNewRecord;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }

        public double getSdAmount() {
            return sdAmount;
        }

        public void setSdAmount(double sdAmount) {
            this.sdAmount = sdAmount;
        }

        public String getSdBegdate() {
            return sdBegdate;
        }

        public void setSdBegdate(String sdBegdate) {
            this.sdBegdate = sdBegdate;
        }

        public String getSdEnddate() {
            return sdEnddate;
        }

        public void setSdEnddate(String sdEnddate) {
            this.sdEnddate = sdEnddate;
        }

        public String getSdFlag() {
            return sdFlag;
        }

        public void setSdFlag(String sdFlag) {
            this.sdFlag = sdFlag;
        }

        public String getSdName() {
            return sdName;
        }

        public void setSdName(String sdName) {
            this.sdName = sdName;
        }

        public int getSdTerm() {
            return sdTerm;
        }

        public void setSdTerm(int sdTerm) {
            this.sdTerm = sdTerm;
        }

        public int getSdTimes() {
            return sdTimes;
        }

        public void setSdTimes(int sdTimes) {
            this.sdTimes = sdTimes;
        }

        public ServiceTypeBean getServiceType() {
            return serviceType;
        }

        public void setServiceType(ServiceTypeBean serviceType) {
            this.serviceType = serviceType;
        }

        public int getServiceTypeId() {
            return serviceTypeId;
        }

        public void setServiceTypeId(int serviceTypeId) {
            this.serviceTypeId = serviceTypeId;
        }

        public static class ServiceTypeBean {
            /**
             * isNewRecord : true
             * stName : 4S维保查询套餐
             */

            private boolean isNewRecord;
            private String stName;

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }

            public String getStName() {
                return stName;
            }

            public void setStName(String stName) {
                this.stName = stName;
            }
        }
    }
}
